<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧医疗数据监控和告警系统</title>
    <link rel="icon" href="../favicon.ico">
    <link rel="stylesheet" type="text/css" href="../static/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="../static/css/main.css"/>

</head>

<body>
<div class="container">
    <div class="header">
        <span class="left">患 者 基 本 信 息 录 入</span>
        <span class="right">你 好，{{user_info}}管 理 员!</span>
        <span class="right_right"><a href="/">退出登录</a></span>
    </div>
    <div class="leftside">
        <ul>
            <li class="first"><a href="/student">患者基本信息录入</a></li>
            <li><a href ="/updata_student">患者信息修改</a></li>
            <li><a href="/teacher_class">医护人员排班查看</a></li>
            <li><a href="/teacher">患者诊疗项目录入</a></li>
            <li><a href="/grade">诊疗结果信息录入</a></li>
            <li><a href="/grade_infos">患者诊疗历史查询</a></li>
            <li><a href="/graduation">患者出院情况查看</a></li>
            <li><a href="/adminstator">医疗系统权限管理</a></li>
        </ul>
    </div>
    <div class="container-fluid">
        <h1 class="sub-header">患 者 基 本 信 息 录 入</h1>&nbsp;&nbsp;
        <hr>
        <div class="table-responsive">
            <table class="table table-striped">
    <thead>
        <tr>
            <th>患者id</th>
            <th>联系方式</th>
            <th>姓名</th>
            <th>性别</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <form action="" method="post" onsubmit="return handleSubmit()">
                <td><input class="long" name="student_id" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td><input class="long" name="student_class" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td><input class="long" name="student_name" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td><input class="long" name="student_sex" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td><input class="last" type="submit" value="提交" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td id="Result"><span>提交结果:{{insert_result}}</span></td>
            </form>
        </tr>
        <tr>
            <td>患者id</td>
            <td>联系方式</td>
            <td>患者姓名</td>
            <td>患者性别</td>
        </tr>
        {% for result in results %}
        <tr>
            <td>{{result[0]}}</td>
            <td>{{result[1]}}</td>
            <td>{{result[2]}}</td>
            <td>{{result[3]}}</td>
        </tr>
        {% endfor %}
    </tbody>
</table>
        </div>
    </div>
</div>
</body>
</html>